import express from 'express'
import { getAllUser } from '../controller/user_ctrl.js'


// 创建和绑定路由
const router = new express.Router()
// 请求/user地址,交给getAllUser函数来处理
router.get('/user',getAllUser)

export default router
